Deterministic Finite State Machine implementation in C# | Hacker News Reader