Implemented Knight rules