Xuemin Guan implemented finding the minimum number

Committer: Xuemin Guan <gxuemin@gmail.com>