working on the greed kata in objective c