updating intro_course/task_2.f to f95