added testing widget
updated Tree class
added sentence widget