Edit Distance tested and passed online tests