Update sprite.py

completed to second to last objective, with no errors and comments