Queue with linking list