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
Sounds good