Created the Print function and the First Come First Serve function