C program that takes queue information and returns max wait time and queue size