See main.c for an example of programming using the sprite library.