index equaling bug fixed
bug for "file not found" fixed.
random class added.