Random bits of work for coursera algorithm class