Adding diagonal movement and range check.

Testing.