Algorithm fixed + working, difficulties not yet implemented

Best version of the game yet.