Implement try_placing_last_of_certain_digit_in_row