My homework for Lab3. I hope I didn't forget anything.