private String contohex (int num) {
		String test = "";
		for (int i = 16; i >= 1; i = i / 16) {
			if (num / i < 10) test += num / i;
			else if (num / i == 10) test += "A";
			else if (num / i == 11) test += "B";
			else if (num / i == 12) test += "C";
			else if (num / i == 13) test += "D";
			else if (num / i == 14) test += "E";
			else if (num / i == 15) test += "F";
			else test += 0;
			num = num % i;
		}
		return test;
	}