new solution to Caesar ciphering problem writen in Scala