Made Encoder Program

Use as template