Just a simple code for some solid rocket fuel http://pastebin.com/EZdwiW6Z
You should add more functions to your elements, that would make them much more interesting (and probably more laggy too), like, mixing it with something would make it explode, or, idk what reactions fuel should have :P.