double ended list. print method need to be implemented and the whole class needs to be tested