Added python3 print(str, end=' ')
Minor corrections
Added a section in appendix on code profiling using cProfile and line_profile