Added documentation and comments to sequenceExtractor.java