Custom simplified implementation of minigrep with additional features.
The necessary configurations for initializing nanogrep.
Runs the library logic.
Expects a reference to
Returns the line(s) where the pattern is matched in the contents of the file.
Returns summary which includes total matched occurence(s) of the pattern & line respectively.