Updated auto hashing script.

Allows hashing and timing for multiple k values.