Fixed minor name and out-of-scope bugs from refactoring.
Added save_examples method to save predictions in kaggle submission format.
Modified save_examples method to conform precisely to kaggle submission requirements.