Making a web search engine for Java class project