Attempted answer to paint editor challange | ScratchStats