changed basicblocks to use arrays instead of indices; added stmt to llvm translation function