Working coin changer logic