PA3 table stuff

did some frequency table methods and tried to do some of the
huffmantreenode/huffmantree methods but got stuck.