Added Go solution to problem 42
Reorganized and updated common Go code
Added Go solution to problem 43