Revert "Added a subroutine to check whether a graph is symmetric and a test to make sure it works properly"

This reverts commit 89d3df3e8ed3f6beebc43bfb1bc5edd383a5545d.