adds setNewSlide() to carousel prototype with passing tests