Okay, so it's almost done but then when I get 2 "o" and one "x", then the game says it wins. Any help? I'm pretty sure I wrote it correctly but it doesn't work.

download it here:
http://www.mediafire.com/download.php?mvjlwnnergm