Added some comments to the code and updated the gui to update status with the state of the game