Solution assignment2