(Damn, that's the kind of stuff we entertained ourselves as freshmen on a PDP-11 with a few terminals in 1991.)