Softwire Interview Question

Fix Ruby program