Moved topBottom() to ballCon.prototype
Adding checks for non-existant items in arrays