Predtron: A Family of Online Algorithms for General Prediction Problems