The second project of the course Algorithm on cousera