Added official solution for ex3