upgraded to python3 & tabs
fixed tabs on empty lines