This code generates a tesseract and displays it on the screen as a 3d slice