Add solutions to ex 3