Fixed incorrect class name for getNext() function from 'previous' to 'next'.
Merge pull request #3 from lareeth/master

Fixed incorrect class name for getNext() function from 'previous' to 'next'.