completed problem 4
Merge pull request #2 from kma3a/4

completed problem 4