FifoScheduler changes to PriorityScheduler
refactor according to the review
Merge pull request #52 from huafengw/ScheduleWithPriority

FifoScheduler changes to PriorityScheduler