make reading train-file faster
collapse nest of funstions
change loop method
refactoring end
Merge pull request #11 from s10018/yk-twww2

Yk twww2