A numerical light curve model for interaction-powered supernovae. (5th June 2020)