Grocery Store with working cart and checkout (C++)