added exercise 3 click to change Point A and Point B