added Secant.java, and Function.java, not sure how to handle Function yet though, where to implement it?