How to make an inverter from batteries