add secondLargest method.