Changed all tabs to spaces to comply with PEP 8. Use 4 spaces for indent