public ArrayList<ArrayList<String>> divide(String song){
		System.out.println("in");
		ArrayList<ArrayList<String>> ar = new ArrayList<ArrayList<String>>();
		for(int i = 0; i < clientSockets.size(); i++)
			ar.add(new ArrayList<String>());
		int min = findMinNote(song), max = findMaxNote(song);
		int tempMin;
		int ammountOfPlayers = clientSockets.size();
		String s = copyOfString(song), temp;
		char mark;
		while(!s.equals("")){
			tempMin = tempMin(s);
			temp = s.substring(0,tempMin);
			mark = temp.charAt(0);
			temp = temp.substring(1);
			if (mark != '$'){
				for(int i = 0; i < ammountOfPlayers; i++)
					//min + i*range/size <= num <= min + (i+1)*range/size
					if(Integer.parseInt(temp) >= Math.round(min + i*(max-min)/ammountOfPlayers) && Integer.parseInt(temp) <= Math.round(min + (i+1)*(max-min)/ammountOfPlayers))
						ar.get(i).add(mark + temp);
			}
			else
				for(int i = 0; i < ammountOfPlayers; i++)
					ar.get(i).add(mark + temp);
			s = s.substring(tempMin);
		}

		return ar;
	}