Some Improvments in Exceptions, Tree and ArrayList