multithread-1

two ways to do a same work ,single thread and multiple thread