added exercise 3
final execise 3