Make billsplit work both under python 2 and python 3.