flush added
flush added

According to this Stackoverflow answer http://stackoverflow.com/a/3249684/828184 cite
"The stdout.flush is necessary on some systems, or you won't get any output. Other systems may not require it, but it doesn't do any harm."
zhangyue1208/nd_dl_project1