Added a method that uses reject to find the second highest and second lowest numbers.