Creating HTML using tree structures | Hacker News Reader