problem 1-2 v0.0 space n time n