Logic gates simulation using Node EventEmitters | Hacker News Reader