updated Collectiondemo, SetDemo and LinkedListDemo classes in the package collectionframework