Changed default attributes of the Tree object to an empty array as opposed to an empty
 dictionary