Added official solution for ex4