Added stringHash function