Added object and queue class, modified list

- the object is a root of class hierearchy
- the queue is a generic queue for storing objects
- modification of list implementation