Update: added updatedBoard which works. However I found an indexing problem in playerTurn. The does compils with no errors.