Fixed issue #3
Made maxCycles optional so that the user can pass in nothing and get an unlimited number of cycles
Merge pull request #4 from daviesgeek/master

Fixed issue #3