A demand-based methodology for planning the bus network of a small-medium sized town