Implement my_rank(). Had to go back and fix a bug in HW4's is_superfluous() that had gone unnoticed until now.