Jose Borja - Algorithms_set2 with extensions