Began filters

Started writing the search filter for the names, but an error occurs
when running the project (“Exception in thread "main"
java.lang.OutOfMemoryError: Java heap space”). But once I work this
out, I can more or less use the same code for the rest of the searches.