Create task_3.2

Using bool is true and if_else loop