fixed indentation to be within 80 characters, and fixed a compile-warning
added makefiles in the text_examples and exercises
added README