added algorithms documentation