Added javadoc to parse method.
Working on parsing tree.