added notworking solution for rotate matrix in place