Design a program that implements process scheduling according to the high-priority scheduling algorithm.