Implemented Global Predictor, Selector logic based on Saturating counter, Submitted code