Update and rename nomial.java to Nomial.java

Added get functions