Practice Program for calculating window sizwe