Update example.py to include using the abstract interface. Also allow initializing FuncHandles with an input_arrays dict.