Ruby script showing usage of to_i and to_s methods