adding else ifstatemens into winner check funtction