wrote huffTree method stubs