How Can Gerrymandering Influence Elections