http://makeprojects.com/Project/3x3x3+LED+Cube+Arduino+Shield/2021/1
Or you can just buy a kit.. LED Cube 3x3x3 - KIT-09867 - SparkFun Electronics