Added in docking tracking

Added in a function to track docks and undocks from stations.