Added comment for FreeGameState, removed white spaces in if then else block, and changed position of $ in emptyBoard