Added Cookies and timing

Added two cookies and a timer