add exercise 1.4

Signed-off-by: maxpcn <maxp@netease.com>
Merge branch 'master' of https://github.com/maxpcn/stl_algorithm