adding getNext function
Merge pull request #6 from SachaG/master

Adds getNext function