An exercise of bit fountain's iOS8 course