Added code for shadows.

They get drawn in layer 1, just above the tiles.
Added hackish code to automate sprites creation.

This code is complete crap, but does its job.