Added simple animation logic

Added logic in the graphics engine to handle simple animation.
Created a temporary sprite class to test out logic.