Updated README and matched code with Guava implementation.
Use preconditions instead of if statement checks.