added graph problems