finished looping_a_triangle