Rewrite the solution for the dominator challenge
Cleaning up the dominator class
Fix some cases in the dominator challenge