Added rest of algorithms