add algorithm maxproductsubway and hdu 1001