Stable version of task2 without using the VA file for searching. It also has KNN clustering algorithm but not verified yet. Need to write another version of serching using the VA file