thus , north korea , with its own technology , embarked on the construction of no. 2 reactor , a 30 megawatt -class reactor by the graphite moderator gas coolant method , in yongbyon in 1980 , completing it in 1987 .