Train Move System [Dead Rails]

How do I make it so the train can go on curved tracks? Like 90 degree turns.