Implemented optimal delta compression algorithm

camelCase