Simulated queuing ticket buying program design report