Changed names to fit in the logic better.
Let resetTrackingValues() to actually reset everything.
Removed unused methods
Changed code to a shorter version.
Check winning now works.