Added matching example
Made the inorder functionality a bit more general
Added matching test cases