VB commonly used algorithms and examples