consumeFirst

Remove and return the first element in a mutable list.