Fixed the timer

Most of the work was improving hashcode eg getting random strings, and
getting the search methods working and getting the timer right