public void tableWriter(Object[][] items, String fileName){
		FileOutputStream fileOut = null;
		try {
			fileOut = new FileOutputStream(fileName);
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}
		HSSFWorkbook workbook = new HSSFWorkbook();
		HSSFSheet worksheet = workbook.createSheet("testSheet");
		
		int cols = items.length;
		int rows = items[0].length;
		
		HSSFRow[] myRows = new HSSFRow[cols];
		
		for(int i = 0; i < cols; i++){
			myRows[i] = worksheet.createRow(i);
		}
		for(int i = 0; i < cols; i++){
			for(int j = 0; j < rows; j++){
				if(items[i][j] == null){
					//do Nothing
				} else if(items[i][j] instanceof Integer){
					HSSFCell temp = myRows[i].createCell(j, 0); // numeric
					int tempInt = (int) items[i][j];
					temp.setCellValue((double) tempInt);
				} else if(items[i][j] instanceof String){
					HSSFCell temp = myRows[i].createCell(j, 1); // String
					temp.setCellValue((String)items[i][j]);
				}
			}
		}

		try {
			workbook.write(fileOut);
			fileOut.flush();
			fileOut.close();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}