refactors rules and adds function who_wins?
adds ability to print who wins at the end of a game