impl FromStr for Code {
    type Err = ComputerError;

    fn from_str(input: &str) -> Result<Code, Self::Err> {
        Ok(input
            .split(",")
            .map(|s| s.trim().parse())
            .collect::<Result<Vec<_>, _>>()?
            .into())
    }
}