Problem 11

Added Java solution to problem 11.