add correct coin change algorithm
extract coin validation behaviour
extract vending machine transaction handler