Program now seems to be working as intended. Had to implement a method in InStoreReceipt and fix a problem in DataAcess.