Euclidean distance not considered if the piece can threaten the king
NullPointerException at arePiecesOfTheSamePlayer(Position original, Position destination) fixed.