Updated test descriptions and removed unnecessary variables
changed hashed_value to polyhashed_value.
Reviewed comments for readability and removed unnecesary functions.
Rewrote some functions to match the procedure described in the comment
blocks