Changed graph import structure to include isGrayScale
minor: imports and prints