unique path sol2 - don't overuse recursion solution