Added cash checker while buying.
Money now subtracts from the total amount.