Guyz I really need ur help in developin thiz code coz I can understand wat my Lecturer is expecting but I don't know how 2 implement the coding.....He say itz quite simple but I'm breakin my head here.....Can some 1 help me 2 come up with the code or algorithm for thiz question??? I appreciate ur help....Plzz

Consider there is train track connecting various stations in a circular path and train can go onward as well as downward.
1. Create a class Station with name, onward train timing and downward train timing, distance, onward fare to next station and downward fare to previous station.
2. Create a class Track that can accommodate details of trains and able to provide services-

- method to identify target from current position onward and downward and display distance and fare.
- method to choose the cheapest direction and display the platform bound for next station with time of the train.

3. Use suitable data structures and exceptions to handle the details and show the evidence of handling any abnormal situations. Additional features will attract bonus marks.