Converts listed data in a text file to a list of c assignments ready to be copy pasted