Added CodeTree and FrequencyHeap classes, refactored other classes