Using algebra to create paths | Hacker News Reader