Up to problem 9 in project 1