add sol

solution for lab2-4