added filewriting exercise