Splitting the code into three modules.
Simplifying the tiebreak code, per Steve's suggestion.
Abstracting totalWith to return a Num, not just Integer.