Ruby version of Twik Password Generator