add mirros traversal solution
add test case