Implements Assignment 4 Part 3-1

Real decode, previous shoulda been createCodeTree
Merge pull request #9 from jackcviers/decode-shoulda-been-create-code-tree

Implements Assignment 4 Part 3-1