Add code to solve Hash algorithm