Added maxDiff
Added spiralTraverse