Changed class input to readinput and all variables input to inputx to avoid errors with the built in function input