added third program - For Loop