added my solution to the pheasant problem