list and array queue
tsp