The class coin changer kata written in Swift