Here are programs on ruby language