Create Pattern.java