adding todos and more algorithm stubs