fixed bug in check for wining move after check for O win refactor