Solution problem number 17
Solution to problem number 7