Inverter sprite overhaul

edit inverter sprite
re-implement inverters having 4 directions
fix power updating with inverters
fix connection with inverters
add givingPower method in Circuit.java to simplify checkPowered method
and reduce code copying