public void populate(ArrayList<Book> inputBooks){
		Random rand = new Random();
		rand.setSeed(3);
		//number of columns/rows
//		int len = (int)Math.sqrt(inputBooks.size());
//		int step=0;// current column
//		int count = 0;//current row
//		int radius = (int)Driver2.MIN_RADIUS;
//		int diameter = radius*2;
//		int offset = len*radius;
		books.clear();
		
		//Adds each input book into books, and 
		//updates the position based on step and count

		for(int i=0; i<inputBooks.size(); i++){
			Book temp = inputBooks.get(i);
			int x=(int)(20*rand.nextDouble());
			int y=(int)(20*rand.nextDouble());
			books.add(new BookNode(temp,x,y));
//			step++;
//			if(step>=len){
//				step=0;
//				count++;
//			}
//			
		}
		  for (int i=1; i<100; i++) {
			    arrange(i);
		  }
		  
		  setDimensions();
	}