Finished problem 11