Improvements and unnecessary variables removed
HalfOpenHashing Algorithm Fix