feeds program into string_of_program