algorithms snippets added
Semantic alignment finished