Worked on Problem 1.15, still need to fix some errors