Simple Java-based shopping cart program