rotates the 3x3 list matrix (counterclockwise)
credit to me myself and I uses 1 list and one variable needed it for my tetris game