Instruction::getNext and Instruction::getPrev are private

Thanks Antont and Gabor.. I will use the iterator instead..