modifications to create_queue proc and send methods to correctly send and receive messages