decode implemented with closure
encode implemented with closure and a helper function
code bits added
additional tests for part 4b
convert and naive version of merge added
quickEncode version 1