completed compiler, added examples