created triangle pattern