Create RequiredList.java

This class have main method