Added example for FRE

fits formatting of all the other examples, writes and then reads some text