Added old Java solutions