Fix bug in methods that created graphs and tested them for Kekuleanness

Method would create random graphs which may not have been connected. Unconnected graphs are not considered interesting for the problem it was solving.