unique paths 1&2 solved