add for, while, and ocamldoc snippets

simple, but useful stuff