A Multilevel Inverter with Reduced Number of Switches