Added Nested loop and Nested Conditional.