Common Lisp implementation of Python's `format` function