Code relating to the UM course Astronomy 531.