Added polygon.java