private void print(List<char[]> list) {
recPrint(list, 0);
}
private void recPrint(List<char[]> list , int time) {
if(time == list.length)
{
println();
return;
}else {
char[] chars = list.get(time);
for(int i=0; i<chars.length; i++){
print(chars[i]);
recPrint(list, time + 1);
}
}
}