A Titlecase program using Ruby