Initial commit of matrix rotation solution