Solving MaxSAT by Successive Calls to a SAT Solver