part 2 almost finished no testing

adding the data saving and outputing file
1/ everything need to be checked
2/ saving the extern and entry
3/ minus numbers handleing
4/ second pass