add rotate matrix and stringproblems
add rotate matrix and stringproblems