renamed linked list to queue because it was actually a queueu