More errors to change... Changed queues back to lists for the push_front
functionality missing in queue.