DP solution to climbStairs