Fixed bug in IsSqProtectedByABishop, and uncommented code for move sorting