Got first part of search engine to not crash, not returning right rows though.
Forgot to add query testing script.