Solve the 2nd exercise of the 1st set of challenges
Shorten set1_exercise2() by making use of the try! macro

try! is really nice to get rid of a lot of boilerplate.
Prevent reallocations

Correctly size the buffer from the start. We know how
much space is needed for the result.
Prevent reallocations