check winner after player picks square everytime.