Add exercise from chapter 2

@laurocaetano just finished the exercises from chapter 2.
Does it work? I mean, there is a `init` function already defined in Haskell, right?