added algorithm section, added first entry for recursive calling