initial implementation and associated tests

implemented calc_winner() and load()