lab 5 (precedence climbing)