some changes in Function

I commented out some winning cases in win(), because I want to double
check and make sure those are the correct winning cases. And I still
think that we have to check if i = i+1 in dou(). So I changed it.