Refactoring products and quantities
Refactoring

Added a QProduct class for the product and quantity. To replace the
Object array stored in the arraylist. I had problems with casting and
this approach makes more sense to me.