Adds stubbed out decode method
Sets up initial encoding/decoding algorithm
Fixes bug with extra spaces appearing in decode method