add function: trim_barcodes
add simple trim_barcodes test
add function: get_shopping_list
add function: get_preferential
optimize
break get_preferential into two part
add function: printInventory
fix algorithm
clean code