Brute force recursion attempt. Horrible run time complexity.