Add solution for dom exercises