modefied variable names and add new global variable numberOfDecendants which is a replacement of the array of the decendants created in myObject
modefied variable names and add new global variable numberOfDecendants which is a replacement of the array of the decendants created in myObject