update readme and some algorithm
update readme and some algorithm