Adding a method allowing to get the first element of the queue