Got the priorty scheduler working.. Need to get prioties and compare them