First practice of algorithms