Create FinalResult.java

Basically a print function