Flipping the most perfect pancake