Arduino taximeter

I need help in programming an arduino taximeter that uses a hall effevt sensor as its odometer