Tested rotate()
Added rotate()