Added up to hash functions from midterm 2