next train kata

Imported from Apollo