Bare-bones of Java implementation
I was stupid, wrong java naming convention
Worked on field.java for java implementation