fixed segfault on linux, compiles runs. this is a hashing program