Update Pancake.cpp

changed as per Dr. Daugherty's suggestion. Operations on the pancake stacks are moved to Pancake_stack.cpp.