Adding sandpile draw code