Finished cookie clicker

I needed to create a simple struct to store state information, because I
realized I needed to keep track of more info about previous states. I
could probably pare it down a bit more, but this works and is reasonable
fast on the inputs.