public static void doLevel() throws ClassNotFoundException, FileNotFoundException, IOException, InterruptedException {
		addToPattern();
		SimoneUI.blinker.run();
		Thread.sleep(5000);
		for(Integer i: currentPattern) {
			// Don't need the integer, but it will ask for the same number of inputs as are in the current pattern
			if (i!=returnedindex){
				cont = false;
				break;	    		
			}
		}	
		if (cont) {
			currentplayer.incrementCurrentLevel();
			doLevel();
		} 
		else {
			currentplayer.setScore(computeScore());
			HighScore.processScore(currentplayer);
		}
    }