Team 5 - Chloe and Matt - Prioritybot

Similar to my comment above, what is the rationale for the flattening going on throughout your code?