basic solved functionality
removing some unneeded line breaks
Couple of bugs with setting letters

1) You could use the initially set letters
2) Changing the value of an already set code would leave relics in the lookup table