Minor code tweaks
Improvements to Haskell code plus new CashMachine showing same logic using built-in types