Works for Simple priority.

TODO Priority Donation, Delete the commented codes.
Finally Working Copy\nWe need to add comments