Add method to add an object to the head of the Dequeue.
Refactor add method to tailAdd.
Ignore compiled java class files.