put if statements so you can't go over or under the number of objects in the objects vector. going to sleep.
Merge branch 'master' of https://github.com/JoeWise/Assignment4