Moved sprites to a class.

Made a basic class for sprites, mainly to test C++ class syntax.