added spiralOrderTraversl method