When the person moves from ith index in right direction when i moves has been done
for j in range ( 1 , 2 * n + 1 ) : NEW_LINE INDENT arr [ i ] [ j ] += ( arr [ i - 1 ] [ j - 1 ] * right ) ; NEW_LINE DEDENT