Basic priority passing and a stack visualization