Implemented the getAt() method in Slide