added removeTask method

added the removeTask method. it removes every task which has a type of
priority, and returns the new List of To-Do.