test cases for won method added, whitespace removed