public void findScalarProduct() throws IOException {
        int totalInputs = Integer.parseInt(fileReader.nextLine());
        int input=1;
        List<Integer> arrayOne;
        List<Integer> arrayTwo;

        while(fileReader.hasNext()){
            int totalNumberOfElements = Integer.parseInt(fileReader.nextLine());
            arrayOne = new ArrayList<Integer>();
            arrayTwo = new ArrayList<Integer>();

            StringTokenizer arrayOneTokenizer = new StringTokenizer(fileReader.nextLine());
            StringTokenizer arrayTwoTokenizer = new StringTokenizer(fileReader.nextLine());
            for(int i=0;i<totalNumberOfElements;i++){
              arrayOne.add(Integer.valueOf(arrayOneTokenizer.nextToken()));
              arrayTwo.add(Integer.valueOf(arrayTwoTokenizer.nextToken()));
            }
            int crossProductSum = 0;
            for(int i=0;i<totalNumberOfElements;i++)
                for(int j=0;j<totalNumberOfElements;j++)
                    crossProductSum+=arrayOne.get(i)*arrayTwo.get(j);
            if(input==totalInputs)
                fileWriter.append("Case #"+input+": "+crossProductSum);
            else
                fileWriter.append("Case #"+input+": "+crossProductSum+"\n");
            input++;
        }
        fileReader.close();
        fileWriter.close();
    }