Added code for superimposable tree problem