Implemented randomPosition for RandomizedSearchEngine.cpp;