Pass in algorithm to constructor
Split out encoder algorithms to their own files
Encoder algorithm should return integer
Match python modulo in delta algorithm