A minimalist implementation of type theory, suitable for experimentation