Solution to CS50p - Coke Machine