Update barrelcortex example and make the `code` argument in `CodeRunner` optional