Eliot Kersgaard's homework for ASTR 2600