Added some code to try and locate castling opportunities, but the test is still failing