initial attempt at recursion
recursion working
merging recusrsion branch