Small program that writes a pattern of data to a file