What's the correct Motoko syntax for this this pseudocode of a sha256_to_derivation_path() function?

I solved the problem a different way but I’m getting another problem with mops.

I wonder if it has to do with moc. I have not explicitly installed moc. I don’t know if another command has installed it.

This is the full log: icrc1/src/ICRC1/lib.mo:16.1-16.40: import error [M0010], package "StableTrieMap" not defined