Decode huffmann tree