removed temp files from gedit
implemented exploration algorithm