Minimal free resolution for points on surfaces