public void processSymbol(){
        if ((!(currentState.equals("ACCEPT"))) && (!(currentState.equals("REJECT")))){
            currentSymbol = (String)input.get(currentCell);
            toState = transitions.get(currentState).get(currentSymbol).get("switchTo");
            writeSymbol = transitions.get(currentState).get(currentSymbol).get("write");
            moveTo = transitions.get(currentState).get(currentSymbol).get("move");     
            currentState = toState;
            if((currentState.equals("ACCEPT")) || (currentState.equals("REJECT"))){
            	// Do nothing
            }
            else{
                input.set(currentCell,writeSymbol); 
                if(moveTo.equals("Left")){
                    if(currentCell >= 0){
                        currentCell = currentCell - 1;
                    }
                }
                if(moveTo.equals("Right")){
                    if(currentCell < input.size()){
                        currentCell = currentCell + 1;
                    }
                }
                if(moveTo.equals("Neutral")){
                	// Stay at current cell
                }           
            }
        }
    }