Creating tokens for building a simple information retrieval system