Add solution for excercise 1-31