added a solution to the second unique paths problem (with obstacles)