String overlap detection in Python | Hacker News Reader