Added find adjacent mismatch code. Added unit tests