recursion practice
exercism 1