New solution to Exercise 04.