RDPNFA.java works on the first case