added a null return if no buffer was replaced; changed logic of G-clock
algorithm-included RC and pins
Merge pull request #2 from juhidesai/master

modified g-clock algorithm logic