Topics in algorithms and code examples