Use Matrix.equal() and predefined correct matrix for testing on correctness
rename test method to testRotate_2x2
use i and j variables as loops counters
The result matrix should be created with given factory
implemented rotation in abstractmatrix
cleanup