add solution for unique paths problem