Run as  ""java -jar -Xmx4g ImageQuery.jar ./Data/ImageQuery/query1.jpg 20"
For running given sample queries.