Implementation of the Vending Machine Kata in Python