Write a program using any language that uses an array to demonstrate a simple FIFO queue with 10 job entering the queue and 5 jobs removed from the queue by the server. Use an inter-arrival time of 1 second for each new incoming job and a service-time of 0.5 seconds per job serviced.