assignment 1

commit assignment 1 problem 1 and 2