Easier way of finding total number of ways from (0, 0) to (m,n)