Brainf*ck interpreter with functions