Uncommented and renamed the functions that check for winning combinations, clarified comments