added new createspark function that takes in an added arg sparkspeed