Ensured node coverage
Provided version of problem 2
Generating output for 2 domains