Homework #1 mostly done