How to write a matching program file in a traffic simulation software