Working on hashing, have weird index out of bounds errors