adding next functionality
added previous command
Merge pull request #9 from helmedeiros/prevAndNext

Added previous and next commands.