My sollution to assignment2