Assignment 7 Submission

Might be easier to read if you do
int parent = (index-1)/2;
and then just use "parent" everywhere...