Add java solution to challenge 1