random generator
sortDictionary as a Class function
itemCF and dictionary help function