overrode equals method in Arc.java and added hashCode