Kaleidoscope tutorial: some little problems need to fix

Hi all,
I have finished Kaleidoscope tutorial a few days ago. It's really a
great tutorial that help me a lot.
But, there seems to be some little problems need to be fixed. Although
I have fixed most of them, I'll just list them here as I'm new to
LLVM, and I'm not sure whether my solutions are correct.