Mathematical equation structural syntactical similarity patterns : a tree overlapping algorithm and its evaluation