coding completed for Proj1-Priority Task

Compiled successfully, but left a recursive loop in getEffectivePriority