Removing the core of the apple and cutting into pieces