sample ruby program