Implemented terribly slow and crappy reed solomon encoding.