Modified lesk.py to suit guidelines