change transfer money to function
Merge pull request #1 from wingyplus/money_transfer

change transfer money to function