Corrected initialization of chessboard, added function for printing chessboard
Refactored, added function for receiving data from client
Change player on end of turn