Remove old implementation of Package-Merge
Compute cost when assigning prefix code
Port new Package-Merge implementation from Java
Integrate Package-Merge with encoder
Make variables names in prefix encoder more human-readable