added exercise 2a

at practice 1 in semester 2