pastebin get Cy6Dxj0p typeset

Got bored, made a typesetter for (semi)optimal typesetting for a given margin.
Works like so

typeset <inputfile> <marginsize>
for example

typeset charles 40

Screenie

Edit: Strikes me that this might be better in APIs &amp; Utils, if it would be then move it plz :)/>