knights problem in python