Answer :
No they didn't have brains in their tails. There was some other unknown organ that might have helped them in operating their legs and tails.
well,ofcourse not!no creature which i know have brains in their tail.it might be on its head or its some other organ