C project that simulates a pop vending machine