Re-wrote the entire code from scratch for a simplier coding for timer countdown.