Implemented Hydrogen and Oxygen processes
Added main function