Corrected Logic For Playing O or X for winning