go programming hw5 for 02601