A weather station logs temperatures through the day. The report only needs the first and last reading.
Task: write first_and_last(readings) that returns a list holding the first reading, then the last one.
readings always has at least one value. If it has exactly one, that value is both first and last, so it appears twice.