How I went from a spendthrift consumer to a shrewd spender.