Fixed Bug that didn't parse the question properly. Converted System.out.println to log4j calls.