Added EnqueueTask() method to Queue class