It looks like a nice exercise, but for a real patent you sadly need a real layer. There are a lot of standard patenting tricks to ensure nobody can make a stupid generalization of your patent and get a patent that includes your idea. Does you patent apply to cubes with N layers? Does your patent apply with cubes painted with less (or more?) colors?