my reimplementation of popular computer science algorithms