Updated PatternCompressor class to instance class
Implemented pattern based compression method
Added comments and new test method
Implemented decompress method
Wrote new tests and added new functionality to Pattern Compressor