Added Flip Functionality

Exactly as it says on the tin.