Update InMemoryLinkDatabase.java

Added String type to the hashset. Now the project compiles on Java 8.
Merge pull request #162 from ducky427/master

Update InMemoryLinkDatabase.java