implemented a parser to parse distance strings