Edinburgh Castle is built on top of an extinct volcanic rock