added sprite animation program -- needs delay, to be repurposed in main code