added tail collision, changed color of tail, added reset function