Diana Boyer’s “Geology of the Bahamas” class takes students to study the island’s composition and changing nature.