A program that calculates window pane sizes and lengths