Updated Layer.py to go with FlipSprite.py