added most_similar function to similar.py