Refining formatting for shift and vigenere