Revamped Clock class and created ShotClock class.