lecture_11 global fixes

+ code indent style
+ missing dots, semicolons, etc.