finished triangle exercise