first of all i am using java to solve the game
i am putting all the ascii representation of the letters in a hashMap with the letters as keys and String arrays as values.
to print the answer i build a string for each line of the answer, from the corresponding line of the letters.
for some reason when i enter the strings to the arrays on the map they lose the space characters on their end
i can solve it for most cases by hardcoding an extra space when i insert it to the answer.
but i am looking for a way to get those spaces in without hardcoding solutions.
this is the code i am using to insert values to the map:
for (int i = 0; i < h; i++) // inserts values to ascii map
String rOW = in.nextLine();
for (char j='A';j<='Z';j++)
String letter = String.valueOf(j);
String arr = ascii.get(letter);