completed cipher question in java assignment
change cipher to use arrays not hashmaps