Update sprite.py

I don't hnow the result as I couldn't get pygame working