OOPS based Assignment with enqueue and dequeue
DoubleQueue Class
SquareQueue Class
QTrait
Two classes: DoubleQueue and SquareQueue mix in a trait.
A trait Queue which performs two functions of enqueue and dequque.
DoubleQueue enqueues the element after doubling them while SquareQueue enqueues the element after squaring them defined in their respective classes.
Dequeue method defined in trait will remove the first element from the queue.