first run at generating IR with llvmpy, stops short of complete array addition and external function calls, included reference implementation in pure C

Signed-off-by: Oren Leiman <oleiman@ucsc.edu>