ELF library and demo program for Python