4x4x4 led cube problem

Tomtin:
nobody?

Use the Arduino IDE's auto format tool (Under tools > Auto format) before posting code; nobody is going to want to help you with code looking like that.