Fix bugs in shift cipher

I will probably write some notes on strncmp and strcmp - they don't work
at the way that I had assumed they worked.