1) Added comments
1)Merged
1) Fixed some string formatting bugs related to rule two. 2) Finished documentations for QueryTree class