yay, Sandpile working

review/merge by @frankduncan please