A forest building process on simple graphs