Working encoder
Cleaning the encoder code.
Merge branch 'master' of https://github.com/jworsham/cs4220-project1
Test...