Added user input
Added boolean printing