Monte Carlo methods in an introductory electromagnetic course