Add attempt at third exercise