Solving riddles with Prolog and ES6 generators | Hacker News Reader