made piecelocations an int[][] instead, less room for error imo