A Dynamic Algorithm approach to Pretty Printing to minimise line end slack.  Done for COT5405 at UCF.