Changed tabs to spaces to avoid future headaches

This also happens to make it runnable in python 3, but that's not the intent.