If-while-for in cOOre

Resolves #5 .