Add my solutions to lab2-and-3's homework10