Part 3: this is the function parseScoringFile and its head file