A discrete-time model with vaccination for a measles epidemic