for loop pentagon