renamed check to threeInARow