Tag: calculate number of diagonals in a polygon