Fixed wrong win condition and added count of wrong attempts.