first commit
Merge https://github.com/MengGuo/P-MAS-TG
added source code