Fixed compile errors in test class, added a test for whoWon and wrote lo...

...gic in whoWon