public static void main(String[] args) throws IOException, InterruptedException
    {
        //Read File 
        BufferedReader br;
        br = new BufferedReader(
             new InputStreamReader(
             new FileInputStream( InputPath )   )   );
        
        String strLine;
        int lineCount = 1;
        while ((strLine = br.readLine()) != null)
        {
            switch (lineCount)
            {
                case 1: X = Integer.parseInt(strLine);
                case 2: Y = Integer.parseInt(strLine);
                case 3: Generations = Integer.parseInt(strLine);
                case 4: FrameRate = Integer.parseInt(strLine);
                case 5: InitPercentage = Double.parseDouble(strLine);
                    
                default:
            }
             lineCount++;
        }
        
        instantiateTwoD();
        instantiateDots();
        window();
    }