Create getData.java

Compares user input with database stored results.