Refactored/renamed enum for flip direction
Commented out debug prints