Added golang implementation for problem 4