add algorithm -- complexity   and add the rules
update urls