I decided to code the folding hash algorithm in 2 different ways, one using bitwise operators in C and the other: Not using bitwise operators to see how much time and lines of code I would save in doing so.