This is not completely my program. I downloaded one and modified myself. Initial program was rotating color ful cube using mouse in some way. My version rotate a cube made up of lines with arrow keys