Added grph solution