8x8x8 Cube of RGB LED's

Schematic? Code?
The analog pins can also be used as digital IO, so 20 total.