Update MainDoc.md

Included horizontal rules and examples for all programming langs