took a swing at ackerman function; getting 'Non-exhaustive patterns' error