add namenum.java

the fastest one without optimizing read method