added prim ops, removed old interpreter and its examples. fixed a bug in foreign funcs. (with Dan Doel)