finished the min homework will work on the add function later tonight