basic implementation of single server
multi server queue...quick and dirty