Update checkSSLCert.py

- Cleaned up some functions
- In the process of revamping code so it is class based - Future updates will remove all global variables and make code cleaner and more efficient