hw#5, finally made itw ork sort of. sphere or box has opposite coordinates