Chess Knight's Path Optimizer