Create TriClass.java

Needs point.java and line.java in same directory to run.