finished basic BackTracking algorithms and finished HuffmanCoding