added a solution to the unique paths problem