completed ray wenderlich tip calc tutorial