Just working stuff for MIT course on algorithms