Tag: calculating number of diagonals in a polygon