added algoritmos tp