Create distance.py

distance function (elx, ely) returns 0-5 int based on common terms in abstract match. Planned to include titles later.