add validation to Movie class
add validation to Movie class