Adding one time pad written in ruby