A rotational cipher in ruby