Type conversion TODO: ADD MORE the passed in data is in str format but the output is expected as a list of type int. matrix