calcgrade now checks for gpg and Keys

added checkKeys function to check for gpg and keys
cleaned up code for colors