Fixing Encoder, converting to tab indentation and adding examples
Merge pull request #1 from sabas/master

Fixing Encoder, converting to tab indentation and adding examples