created TriangleWindow class and SirTri class