public void printPixelList(List<Integer> pixelList){
        int i = 1;
        String output = "";
        char pixelChar;
        for(Integer pixel : pixelList)
        {
            if(pixel == -1)
                pixelChar = ' ';
            else
                pixelChar = '*';
                
            output += pixelChar;
            if((i % (imageWidth)) == 0)
                output += "\n";
            i++;
        }
        System.out.println(output);
    }