Monte Carlo code that generates supernova remnant populations in Local Group ISM and statistically compares with observed SNRs