Modified printResult() in LinearEquation.java to be able to print result
in fraction instead of only decimal format.