completin' check_diagonals method