Finite state machines as data structure for representing ordered sets and maps | Hacker News Reader