Max size of 4000 elements in the cache (~64mb). Resolves #8
Oops, forgot to commit the 4000 bit
Merge pull request #9 from adgad/max-cache-size

Add a maximum cache size of 4000 elements