triangle typer v1

Doesn't even come close to working. No tests, and some code in the typer
app that's awfully confused about variable data types, public/private,
static, etc.