Students use giant pumpkin as learning tool