IF and ID stage implemented