Added the nearest neghbour concept to creat population