get rows, diagonals, and columns return appropriate values