PH & MA - Paired assignment - Week 3

why have a check here? why not just combine this method with diag_pieces_in_a_row?