cs 130 lab6 solution