Assignment 6 Submission

This works, but you could use a local variable instead:
Node<Key, T> tempMax;