loading sprites to memory