updated lines and railway programs
updated the interface btw read_lines and main
updated gitignore