Implementation of Result2Tree()

Method Result2Tree() takes a 2D array from descendants(), and creates a multi-dimensional, associative array.