Wilso199 Homework 7 Solutions

After the swap you need to set index = parent, and then re-calculate parent.