made Queue implement the ExecutionContext protocol allowing for more concise syntax