Update scramble string

this version can pass the small test, while there is an error for large tests. M