
To build: make

To use: there are 4 shells

(1) demoshell
	runs the example of the paper

(2) flyshell <textfile>
	it indexes the text file and then answers queries.
	it does not write the index on disk

(3) indexshell <textfile>
	it indexes the text file and writes the index on disk,
	under the names <textfile>.*

(4) searchshell <indexfile>
	it reads the index <indexfile>.* from disk and answers
	queries.
	
query format: just write down the word, the newline character finishes the
		query string
	      the query "END" finishes the program
	      a query of the form c:<string> just counts the occurrences
	      a query of the form p:<string> shows the positions of the occs
	      a query of the form s:<string> prints the lines containing occs
	      default is s:
	      a query of the form <x>:END does not finish the program


