removing unused code, changing back to brute for winner declarations
fixing up some syntactual issues, got it working on jsfiddle!!