part 3 and 4
Merge branch 'master' of https://github.com/jianqiaol/Project2-StreamCompaction