Add code to renew dictionary when full
Merge pull request #7 from soofatt/master

Add code to renew dictionary when full