Ruby program to transform one English four letter word to another.