midterm problem 1 init
midterm problem 1 solved