Added first algorithms