Got rid of inconsistent spacing (made all spaces)
Added initial implementation of encoding kernel.

Not sure if this will work at all. Still needs to
be tested.