first simple implementation and timing

added simple hash based index generator.