add baseline, the simplest c code ported from explain/search_rie_basic.py