public String getInput(String prompt){
			BufferedReader stdin=new BufferedReader(new InputStreamReader(System.in));	//create input stream
			System.out.println(prompt);
			System.out.flush();
			try {
				return stdin.readLine();				//take user input from console
			} catch (IOException e) {
				return "error";
			}
		
	}