240 calories of heat is released. How many degrees of freedom does each molecule of this gas have (assume gas to be ideal)?