implement grow() and shake() methods for Tree