Added encoders

added encoder functionality
Merge pull request #1 from Team2338/Encoders

Added encoders