Solution for assingment 1.3?