Update server.py: cost between places

added a constant array containing the basic cost and using it to find the cost of all types of buses