fixed #check_for_winner method