completed Arc.java and fixed up the code