Scramble String Time Limit Exceeded