coins problem solved using memoization + recursion..Nice one