Basics of my queue working