first ruby program
final version of 2