Created a new class SnippetExtractor

SnippetExtractor class is used to extract code from specified code
files.