Chapter 1: The Role of Algorithms in Computing

@fabioyamate @andrielfn @laurocaetano just finished the answers for chapter 1.

However didn't answer one of the exercises.
@rmascarenhas I just write this script file to compile and generate a jpg file from a tex file. It seems that `pdflatex` doesn't fail with error when it have syntax erros. How are you generating png/jpg from tex?