Exercise 1

Answered Exercise 1.
Exercise 2

Implemented priority scheduling for Exercise 2.
Exercise 3

Answered Exercise 3.