How to create a maze algorithm with JavaScript | Hacker News Reader