Probabilities

Now calculates probabilities(necessary for huffman) and also began
adding node class. TODO: node::insert