Added local variable to Elevator class to hold the user input data. Synchronized access to the data between elevator child and parent threads