Added Sprite class to PPU

Also fixed a couple of small bugs from last commit.