Implemented disk reading once lsh limit is reached

Also now writing lsh tables to ../tmp/lsh subdirectory, in case other stuff is being written to tmp
this needs to be cleaned up when the program exits. I recommend using the temp directory created in dan (look at dan.setUp(), and dan.tearDown())