Create isOneEditDistance