Railways Project in C++