improve Pow
improve SpiralMatrix
add basic, UnionFind