Create a function which takes in an encoded string and returns an object according to the following example:
parseCode("John000Doe000123") ➞ {
firstName: "John",
lastName: "Doe",
id: "123"
}
parseCode("michael0smith004331") ➞ {
firstName: "michael",
lastName: "smith",
id: "4331"
}
parseCode("Thomas00LEE0000043") ➞ {
firstName: "Thomas",
lastName: "LEE",
id: "43"
}
id numbers will not contain any zeros.