adding test class and working solver tree

working size() and print() methods for solvertree and test class