We did this in my AP/IB physics class in high school, except with marshmallows like michaelcampbell commented.  We packed the marshmallows in together and stopped the microwave right when they started to expand.