Use a common structure for the shopping cart problem

The structure is needed so the HackBulgaria tools can scrape the repo
and put it under students' solutions.