completed the last method
adding penultimate and nth
refactored penultimate to use nth
adding the reverse method