Add solution to Huffman.scala