public static List<Point> listify(int[] points, int width) {
		List<Point> list = new ArrayList<Point>();
		int x, y;
		for (int i = 0; i < points.length; i++) {
			x = points[i] % width;
			y = points[i] / width;
			list.add(new Point(x, y));
		}
		return list;
	}