Finished up to problem 11