Fixed get_root implementation.
find-occurrences works.
Added some documentation for occurrences.