Description and implementation of the core Knuth-Plass line-wrapping algorithm | Hacker News Reader