forked from: forked from: prub 1.1

Fixed the WIN condition as well as the timer which was off.
Added comments.
Final Step: Auto Solve.
