kareem fixing the infinite loop caused by branch without changing the pcin in the instuction memeory class
merging conflicts