Added ruby file exercise6