fixed #20 Piece builder for player 1 now checks if index reached array length, and sets it to 0 if it does
fixed #21 Piece builder for player 2 now checks if index reached array length, and sets it to 0 if it does