Text this: Railway Dynamics Analysis Using Lego Mindstorms