Added ValidParentheses.java.