add unique paths ii solution