pub fn step_frequency_parser(s: &str) -> Result<StepFrequency, String>