Solved DeBrujin path

Use class and subclass.
TODO: init in the subclass.