Added railroad diagrams and regexToRailroad conversion