iterateOverOccurrences: Made it configurable whether to start with the longest or the shortest code fragment.
Release 0.2.0.