added matrix rotating walk
added matrix rotating walk