added comments and made some functions in GameBoard do stuff