web programming hw one: program a gumball machine