Parsing program.txt