A brute-force method for studying the chromatic properties of homomorphic graphs