add getTotalMoney method and test
finish getTotalMoney method and test pass