Made money.c work with command line arguments