Added some comments and win condition for linear eqn.
added some rules for transitioning between rounds