added some functions to free queues
small errors in free queue
compilation errors
compilation errors