Remove unused code

Remove code for unused algorithms (height two, height one laddered,
height n) and command-line i/o