added ruby file exercise7