Implement equals on syntax tree objects. Have the ide fix some warnings. Write missing javadoc