Solutions to Lab 2