Add bounds check to rotateImage to correct off-by-one error occurring sometimes
Add bounds check to rotateImage to correct off-by-one error occurring sometimes

All tests pass now.

thijser/ARGAME,thijser/ARGAME,thijser/ARGAME