modify roation function to excluded speical case, good
modify roation function to excluded speical case, good

python27/AlgorithmSolution,python27/AlgorithmSolution,python27/AlgorithmSolution,python27/AlgorithmSolution,python27/AlgorithmSolution