a bug fixed in orangeAdapter function, docs added, printing a tree to string function added