added uttility package and moved search.java to it. Added javadoc