Added Coal to the list of possible-to-generate ores, fixed structure of generation functions.