Created Search.java and added basic Usage checking functionality