Practing basic recursion solutions in JavaScript, including the Tower of Hanoi