Added I/O functions.

Also used a tutorial to create some test sprites. We will delete them once we start adding our own items.