added random sprite generator