php flow control homework done