CodingBat Java Solutions