Adding Solution to Life, the Universe, and Everything written in Java