Added Lab 4-2
Changed where variables for for loops are declared