update solution to gigasecond exercise