X or O referee problem done