Removed std::cout and std::endl, and also removed enum zero index.
Neither std::cout nor std::endl were being removed, and indexing enumerations to zero is redundant, thus these things were removed.