Corrected winner function
Added draw condition