Changed the underlying representation of the board from characters to arrays