finished generating all of right moves given the row