refactored hash algorithms a bit
readme updated