Code cleaning

Changed len(range(xyz) to enumerate.
Changed occurrences of range to the more memory efficient xrange.
Changed condition from: 
if title.find(seperator) >= 0: 
to 
if title.find(seperator) == 0: