Completed Problem 5

- Took a small break. Problem 5 is untested but should be completed.