Initial commit
Add encoder.rb
Updated encoder.rb to make it slightly more confusing
Improve readability of code.
add decoder.rb and decoder_test.rb