implemented getStationName and getCity functions in railway.js program.
fixed goEast and goWest functions to deal with counts greater than list length.