Done. I think. Needs testing.
The Cipher works - at least it's reversible. Also addded makefile.