Corrected enum values.
Added method to run the program.