Per OrcaCat's request, implemented sprites. All code should produce the same results as before.