code base from algorithms course at WM