Quantcast Spreadsheet Challenge done in Java