A flipped 331 model