code for understanding the limits of chessboard. mainly knight's movement on the chessboard.
two_chessboard.py file -> run the python code, nd enter the dimensions of chessboard. it'll simulate the movement of a knight on that chessboard. you can change the initial position of a knight from the code. You'll be seeing the limitation, that it'll generate -1 for whichever positions it cannot visit.
you'll enjoy playing with this code.