Implements Assignment 1 part 1

Huffman node weights
Merge pull request #1 from jackcviers/weight

Implements Assignment 1 part 1