Create puzzle2.java

Assumption :
Given input is valid input.
Cups capacity and level should be positive number.