Updated Code

Updated the code to add the "Center" on user input.