makes a sprite sheet based on given images