Recreate my first program in ruby (originally by C)