Added Travis badge to README and updated hashing algorithm with ridiculously awesome sixth-degree polynomials.
Added exception raising for inappropriate arguments and tests to test them.