Fixed bugs, added win by 3.