collection of random algorithm/interesting code snippets