Fixed bug in adaboost constructor

Since we are obtaining predicted labels based on the training.dataset we should compare the predicted labels with the actual labels of the training dataset. So I changed resampled_examples[-1] to training_data.instances[i][-1] on line  56 and 80.