Add exercise from chapter 2

@laurocaetano just finished the exercises from chapter 2.