initial answer to crypto in ruby