Added a function to find the grandparent, as well as corrections to the
uncle funtion