add template for problem 20
implement ex20 recursively
misread problem, add recursive solution
fix up indentation