Replaced common_items with a function w/out dictionaries, moved dictionary solution to common_items2